package copyengine.utils.delayEffect.effect
{
	import flash.display.DisplayObjectContainer;

	public interface ICEDelayEffect
	{
		function setLayer(_sceneUILayer:DisplayObjectContainer, _sceneLayer:DisplayObjectContainer, _globalUILayer:DisplayObjectContainer):void;
		function execute(_flowFinishCallBack:Function, _executeFinishCallBack:Function):void;
		function dispose():void;

		/**
		 *<b>在整个EffectFlow结束时候回调该函数</b>
		 */
		function onFlowExecuteFinish():void;

		function isExecuteFinish():Boolean;

		/**
		 * 如果当前Effect在场景切换前仍旧没有播放完成，在场景切换前会调用该函数
		 * 强制执行完成函数，
		 */
		function finishExecuteImmediately():void;
	}

}
